<!--
 * @Author: JunyaoPan
 * @Date: 2021-10-11 09:21:48
 * @LastEditors: JunyaoPan
 * @LastEditTime: 2021-10-15 10:23:29
 * @Description: 
-->
<template>
  <div id="app">
    <!-- 全局根组件 -->
    <!-- 只显示一个routerview 即可 -->
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: "app",
};
</script>

<style>
/* 获取父元素高度 */
html,
body,
#app {
  width: 400px;
  height: 100%;
}
</style>
